package com.liwang.lanouhn.nvshengo.Info;

import java.util.List;

/**
 * Created by lanouhn on 2016/9/29.
 */
public class CosmeticInfo {


    private int code;
    private int timestamp;

    private MetadataBean metadata;

    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public MetadataBean getMetadata() {
        return metadata;
    }

    public void setMetadata(MetadataBean metadata) {
        this.metadata = metadata;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class MetadataBean {
        private int current_page;
        private int last_page;
        private String current_offset;
        private int last_offset;

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public String getCurrent_offset() {
            return current_offset;
        }

        public void setCurrent_offset(String current_offset) {
            this.current_offset = current_offset;
        }

        public int getLast_offset() {
            return last_offset;
        }

        public void setLast_offset(int last_offset) {
            this.last_offset = last_offset;
        }
    }

    public static class DataBean {
        private int id;
        private int user_id;
        private String feedable_type;
        private int feedable_id;
        private Object contextable_type;
        private Object contextable_id;
        private String title;
        private int pool_priority;
        private int live_status;


        private ModelBean model;


        private List<ImagesBean> images;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getFeedable_type() {
            return feedable_type;
        }

        public void setFeedable_type(String feedable_type) {
            this.feedable_type = feedable_type;
        }

        public int getFeedable_id() {
            return feedable_id;
        }

        public void setFeedable_id(int feedable_id) {
            this.feedable_id = feedable_id;
        }

        public Object getContextable_type() {
            return contextable_type;
        }

        public void setContextable_type(Object contextable_type) {
            this.contextable_type = contextable_type;
        }

        public Object getContextable_id() {
            return contextable_id;
        }

        public void setContextable_id(Object contextable_id) {
            this.contextable_id = contextable_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getPool_priority() {
            return pool_priority;
        }

        public void setPool_priority(int pool_priority) {
            this.pool_priority = pool_priority;
        }

        public int getLive_status() {
            return live_status;
        }

        public void setLive_status(int live_status) {
            this.live_status = live_status;
        }

        public ModelBean getModel() {
            return model;
        }

        public void setModel(ModelBean model) {
            this.model = model;
        }

        public List<ImagesBean> getImages() {
            return images;
        }

        public void setImages(List<ImagesBean> images) {
            this.images = images;
        }

        public static class ModelBean {
            private int id;
            private String title;
            private int copy_count;
            private int user_id;
            private int comment_count;
            private int share_count;
            private int view_count;
            private int favorite_count;
            private int like_count;
            private String class_name;
            private int is_show_copyright;


            private UserBean user;
            private Object trial;



            private List<VideosBean> videos;



            private List<TutorialCategoriesBean> tutorial_categories;

            private List<OverViewsBean> overviews;

            public List<OverViewsBean> getOverviews() {
                return overviews;
            }

            public void setOverviews(List<OverViewsBean> overviews) {
                this.overviews = overviews;
            }

            public static class OverViewsBean {
                private int id;
                private int feature_id;
                private String title;
                private String cover_url;
                private int priority;
                private int anchor_id;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getFeature_id() {
                    return feature_id;
                }

                public void setFeature_id(int feature_id) {
                    this.feature_id = feature_id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getCover_url() {
                    return cover_url;
                }

                public void setCover_url(String cover_url) {
                    this.cover_url = cover_url;
                }

                public int getPriority() {
                    return priority;
                }

                public void setPriority(int priority) {
                    this.priority = priority;
                }

                public int getAnchor_id() {
                    return anchor_id;
                }

                public void setAnchor_id(int anchor_id) {
                    this.anchor_id = anchor_id;
                }
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getCopy_count() {
                return copy_count;
            }

            public void setCopy_count(int copy_count) {
                this.copy_count = copy_count;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public int getComment_count() {
                return comment_count;
            }

            public void setComment_count(int comment_count) {
                this.comment_count = comment_count;
            }

            public int getShare_count() {
                return share_count;
            }

            public void setShare_count(int share_count) {
                this.share_count = share_count;
            }

            public int getView_count() {
                return view_count;
            }

            public void setView_count(int view_count) {
                this.view_count = view_count;
            }

            public int getFavorite_count() {
                return favorite_count;
            }

            public void setFavorite_count(int favorite_count) {
                this.favorite_count = favorite_count;
            }

            public int getLike_count() {
                return like_count;
            }

            public void setLike_count(int like_count) {
                this.like_count = like_count;
            }

            public String getClass_name() {
                return class_name;
            }

            public void setClass_name(String class_name) {
                this.class_name = class_name;
            }

            public int getIs_show_copyright() {
                return is_show_copyright;
            }

            public void setIs_show_copyright(int is_show_copyright) {
                this.is_show_copyright = is_show_copyright;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public Object getTrial() {
                return trial;
            }

            public void setTrial(Object trial) {
                this.trial = trial;
            }




            public List<VideosBean> getVideos() {
                return videos;
            }

            public void setVideos(List<VideosBean> videos) {
                this.videos = videos;
            }



            public List<TutorialCategoriesBean> getTutorial_categories() {
                return tutorial_categories;
            }

            public void setTutorial_categories(List<TutorialCategoriesBean> tutorial_categories) {
                this.tutorial_categories = tutorial_categories;
            }

            public static class UserBean {
                private int id;
                private int type;
                private String username;
                private String avatar_url;
                private int talent_id;
                private int m_idol;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getUsername() {
                    return username;
                }

                public void setUsername(String username) {
                    this.username = username;
                }

                public String getAvatar_url() {
                    return avatar_url;
                }

                public void setAvatar_url(String avatar_url) {
                    this.avatar_url = avatar_url;
                }

                public int getTalent_id() {
                    return talent_id;
                }

                public void setTalent_id(int talent_id) {
                    this.talent_id = talent_id;
                }

                public int getM_idol() {
                    return m_idol;
                }

                public void setM_idol(int m_idol) {
                    this.m_idol = m_idol;
                }
            }

            public static class VideosBean {
                private int id;
                private String videoable_type;
                private int videoable_id;
                private String url;
                private int priority;
                private int duration;
                private int height;
                private int width;
                /**
                 * id : 1602539
                 * url : http://st-qn.meiyaapp.com/2016/09/27/o_1atl8ublofqa15h31hcp1fn7vqd1589535.png
                 * priority : 0
                 * width : 750
                 * height : 380
                 * type : 0
                 */

                private List<ImagesBean> images;
                /**
                 * video_id : 10994
                 * qiniu_url : http://st-tx.meiyaapp.com/2016/09/27/o_1atl8t638jtilh3uu61u0e194dm73686-HD.ts?abc
                 * qcloud_url : null
                 * type : 0
                 * source_url : http://st-tx.meiyaapp.com/2016/09/27/o_1atl8t638jtilh3uu61u0e194dm73686-HD.mp4
                 */

                private List<ThumbsBean> thumbs;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getVideoable_type() {
                    return videoable_type;
                }

                public void setVideoable_type(String videoable_type) {
                    this.videoable_type = videoable_type;
                }

                public int getVideoable_id() {
                    return videoable_id;
                }

                public void setVideoable_id(int videoable_id) {
                    this.videoable_id = videoable_id;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public int getPriority() {
                    return priority;
                }

                public void setPriority(int priority) {
                    this.priority = priority;
                }

                public int getDuration() {
                    return duration;
                }

                public void setDuration(int duration) {
                    this.duration = duration;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                public List<ImagesBean> getImages() {
                    return images;
                }

                public void setImages(List<ImagesBean> images) {
                    this.images = images;
                }

                public List<ThumbsBean> getThumbs() {
                    return thumbs;
                }

                public void setThumbs(List<ThumbsBean> thumbs) {
                    this.thumbs = thumbs;
                }

                public static class ImagesBean {
                    private int id;
                    private String url;
                    private int priority;
                    private int width;
                    private int height;
                    private int type;

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public String getUrl() {
                        return url;
                    }

                    public void setUrl(String url) {
                        this.url = url;
                    }

                    public int getPriority() {
                        return priority;
                    }

                    public void setPriority(int priority) {
                        this.priority = priority;
                    }

                    public int getWidth() {
                        return width;
                    }

                    public void setWidth(int width) {
                        this.width = width;
                    }

                    public int getHeight() {
                        return height;
                    }

                    public void setHeight(int height) {
                        this.height = height;
                    }

                    public int getType() {
                        return type;
                    }

                    public void setType(int type) {
                        this.type = type;
                    }
                }

                public static class ThumbsBean {
                    private int video_id;
                    private String qiniu_url;
                    private String qcloud_url;
                    private int type;
                    private String source_url;

                    public int getVideo_id() {
                        return video_id;
                    }

                    public void setVideo_id(int video_id) {
                        this.video_id = video_id;
                    }

                    public String getQiniu_url() {
                        return qiniu_url;
                    }

                    public void setQiniu_url(String qiniu_url) {
                        this.qiniu_url = qiniu_url;
                    }

                    public String getQcloud_url() {
                        return qcloud_url;
                    }

                    public void setQcloud_url(String qcloud_url) {
                        this.qcloud_url = qcloud_url;
                    }

                    public int getType() {
                        return type;
                    }

                    public void setType(int type) {
                        this.type = type;
                    }

                    public String getSource_url() {
                        return source_url;
                    }

                    public void setSource_url(String source_url) {
                        this.source_url = source_url;
                    }
                }
            }

            public static class TutorialCategoriesBean {
                private int id;
                private String name;
                private int type;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }
            }
        }

        public static class ImagesBean {
            private int id;
            private String url;
            private int priority;
            private int width;
            private int height;
            private int type;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public int getPriority() {
                return priority;
            }

            public void setPriority(int priority) {
                this.priority = priority;
            }

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
